<template>
  <div id="changeAll">
    <div id="bgImg">
      <img src="../static/567.jpg" />
    </div>
    <div id="detail">
      <div id="detailLeft">
        <div id="imgBox">
          <img src="../static/567.jpg" />
        </div>
      </div>
      <div id="detailRight">
        <div id="name">pearGarden</div>
        <div class="info">
          <div class="infoLeft">个人介绍</div>
          <div class="infoRight">
            xxx
            <span>
              <img src="../static/xiugai.png" />修改
            </span>
          </div>
        </div>
        <div class="info">
          <div class="infoLeft">邮箱</div>
          <div class="infoRight">xxx</div>
        </div>
        <div class="info">
          <div class="infoLeft">性别</div>
          <div class="infoRight">xxx</div>
        </div>
        <div class="info">
          <div class="infoLeft">生日</div>
          <div class="infoRight">xxx</div>
        </div>
        <div class="info">
          <div class="infoLeft">电话</div>
          <div class="infoRight">xxx</div>
        </div>
        <div class="info">
          <div class="infoLeft">密码</div>
          <div class="infoRight">xxx</div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
};
</script>
<style>
#changeAll {
  width: 960px;
  margin: auto;
  margin-top: 16px;
  background-color: #ffffff;
  box-shadow: 2px 2px 5px rgba(32, 32, 32, 0.3);
  border-radius: 8px;
  overflow: hidden;
}
#bgImg {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}
#bgImg img {
  width: 120%;
  height: 300px;
  object-fit: cover;
  filter: blur(12px);
  position: absolute;
  top: -25px;
  left: -10%;
}
#bgImg::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  position: absolute;
  top: 0;
  left: 0;
}
#detail {
  display: flex;
}
#detail #detailLeft {
  width: 20%;
  height: 100px;
  position: relative;
}
#detail #detailLeft #imgBox {
  width: 140px;
  height: 140px;
  background-color: white;
  border-radius: 8px;
  border: 5px solid white;
  position: absolute;
  top: -75px;
  left: 21px;
}
#detail #detailLeft #imgBox img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
}
#detail #detailRight {
  width: calc(80% - 21px);
}
#detail #detailRight #name {
  font-size: 24px;
  font-weight: bold;
  height: 56px;
  line-height: 56px;
}
#detail #detailRight .info {
  display: flex;
  height: 96px;
  font-size: 16px;
  border-bottom: 1px solid #ebebeb;
  align-items: center;
}
#detail #detailRight .info:last-child {
  border-bottom: none;
}
#detail #detailRight .info .infoLeft {
  width: 18%;
  font-weight: bold;
}
#detail #detailRight .info .infoRight {
  display: flex;
}
#detail #detailRight .info .infoRight span {
  color: #996699;
  cursor: pointer;
  margin-left: 32px;
  display: flex;
  align-items: center;
}
#detail #detailRight .info .infoRight span img {
  height: 16px;
  margin-right: 4px;
}
</style>